package com.lagou;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * desc:
 *
 * @author tengfei wang
 * @version 1.0
 * @date Created in 7/10/2020
 */
public class SpringBootStartApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        // 指向原先用main方法执行的Application启动类
        return builder.sources(SpringbootJpaApplication.class);
    }
}
